package com.yungu.swift.order.dao;

import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.order.model.dto.OrderCallHistoryDto;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * OrderCallHistoryMapper数据库操作接口类
 **/

public interface OrderCallHistoryMapper<T extends OrderCallHistoryDto> extends IMapper<T> {

    @Update("update t_order_call_history set status = -1, disposed_on = NOW(), disposed_by = #{sysUserUuid} where uuid = #{uuid}")
    int close(@Param("uuid") String uuid, @Param("sysUserUuid") String sysUserUuid);

}